﻿using System;

namespace MQTTServer.Models
{
    /// <summary>
    /// 查询单个人员名单详细信息 customId 返回
    /// </summary>
    public class SearchPersonAck
    {
        /// <summary>
        ///  查询单个人员名单详细信息 customId 返回
        /// </summary>
        public string Operator { get; set; }
        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string MessageId { get; set; }
        /// <summary>
        ///  SearchPersonAckInfo
        /// </summary>
        public SearchPersonAckInfo Info { get; set; }
        /// <summary>
        /// 图片信息的 Base64 编码（返回参 数）
        /// </summary>
        public string pic { get; set; }
    }

    public class SearchPersonAckInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string FacesluiceId { get; set; }
        /// <summary>
        /// 人员Id
        /// </summary>
        public string PersonId { get; set; }
        /// <summary>
        /// 平台生成的 id,唯一标识不同人员， 建议使用身份证号
        /// </summary>
        public string CustomId { get; set; }
        /// <summary>
        /// 人员姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string IdCard { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// 创建使时间
        /// </summary>
        public DateTime CreatTime { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string telnum1 { get; set; }
        /// <summary>
        /// 人员类型
        /// </summary>
        public PersonType PersonType { get; set; }
        /// <summary>
        /// 门禁卡号(预留)
        /// </summary>
        public string CardNum2 { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public string result { get; set; }
    }
}